home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_07
/
1007010a
< prev
next >
Wrap
Text File
|
1992-05-03
|
262b
|
15 lines
Listing 1 -- mbtowc.c
/* mbtowc function */
#include <stdlib.h>
/* static data */
_Mbsave _Mbxtowc = {0};
int (mbtowc)(wchar_t *pwc, const char *s, size_t n)
{ /* determine next multibyte code */
return (_Mbtowc(pwc, s, n, &_Mbxtowc));
}